package com.lz.yz.member.model;



import com.lz.yz.member.group.ThirdLoginGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel(value = "ThirdLoginModel", description = "登录对象")
public class ThirdLoginModel {

    @NotNull(message = "请输入code",groups = {ThirdLoginGroup.class})
    @ApiModelProperty(value = "微信登录授权code")
    private String code;

    private Integer platform;
    private String headPortrait;
    private Integer sex;

    private String phone;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }
}
